import blogIndex from '../views/blogweb/blogIndex'
export const webRoutes = [
    {
        path: '/',
        name: 'index',
        redirect: '/',
        hidden:true,
        meta:{title:'首页',noCache: true},
        component:blogIndex,
        children:[
            {
                path:'/',
                name:'blog',
                noCache: true,
                hidden:true,
                component:()=>import('@/views/blogweb/blog'),
                meta:{title:'博客首页',noCache: true}
            },
            {
                path:'/:aid(\\d+)',
                name:'blogDetail',
                hidden:true,
                noCache: true,
                component:()=>import('@/views/blogweb/blogDetail'),
                meta:{title:'博客详情页',noCache: true}
            },

            {   path: '/about',
                name:'我',
                noCache: true,
                component: () => import('@/views/blogweb/about'),
                meta:{title:'我',noCache: true}
            },
            {   path: '/sort',
                name:'归档',
                noCache: true,
                component: () => import('@/views/blogweb/sort'),
                meta:{title:'归档',noCache: true}
            },
            {   path: '/messageBoard',
                name:'留言',
                noCache: true,
                component: () => import('@/views/blogweb/messageBoard'),
                meta:{title:'留言',noCache: true}
            },
            {
                path:'/blogLink',
                name:'友链',
                noCache: true,
                component:()=>import('@/views/blogweb/bolgLink'),
                meta:{title:'友链',noCache: true}
            },
            {
                path:'/blogSortDetail/:mid(\\d+),:type(\\d+)',
                name:'blogSortDetail',
                hidden:true,
                noCache: true,
                component:()=>import('@/views/blogweb/blogSortDetail'),
                meta:{title:'博客分类详情页',noCache: true}
            },
        ]

    },




]